package by.grsu.verkhovodko.entity;



public class Bill extends AbstractModel {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2995446680760485457L;
	//private Long id;
	private boolean payed;
	//private int value;
	private Long payerId;
	private Long TrainId;
		
	public Long getTrainId() {
		return TrainId;
	}
	public void setTrainId(Long trainId) {
		TrainId = trainId;
	}
	/*public Bill(int value, Long payerId) {
		super();
		this.value = value;
		this.payerId = payerId;
		this.payed = false;
	}*/
	/*public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}*/
	public boolean isPayed() {
		return payed;
	}
	public void setPayed(boolean payed) {
		this.payed = payed;
	}
	/*public int getValue() {
		return value;
	}
	public void setValue(int value) {
		this.value = value;
	}*/
	public Long getPayerId() {
		return payerId;
	}
	public void setPayerId(Long payerId) {
		this.payerId = payerId;
	}
	/*@Override
	public String toString() {
		return "Bill [id=" + id + ", payed=" + payed + ", value=" + value
				+ ", payerId=" + payerId + "]";
	}
*/
}
